<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>TFSplashWindow Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">TFFoundation </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">“Timeface”</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/bottomMargin">bottomMargin</option>
		
		<option value="//api/name/dismissAnimationDuration">dismissAnimationDuration</option>
		
		<option value="//api/name/dismissAnimationType">dismissAnimationType</option>
		
		<option value="//api/name/duration">duration</option>
		
		<option value="//api/name/imageURL">imageURL</option>
		
		<option value="//api/name/launchAsBackground">launchAsBackground</option>
		
		<option value="//api/name/openURL">openURL</option>
		
		<option value="//api/name/shouldAddLaunch">shouldAddLaunch</option>
		
		<option value="//api/name/showSkip">showSkip</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/showWithBottomMargin:imageURL:openURL:">+ showWithBottomMargin:imageURL:openURL:</option>
		
		<option value="//api/name/showWithImageURL:openURL:">+ showWithImageURL:openURL:</option>
		
		<option value="//api/name/showWithLayoutOfSubViewsBlock:imageURL:openURL:">+ showWithLayoutOfSubViewsBlock:imageURL:openURL:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/initWithBottomMargin:">- initWithBottomMargin:</option>
		
		<option value="//api/name/initWithLayoutOfSubViewsBlock:">- initWithLayoutOfSubViewsBlock:</option>
		
		<option value="//api/name/show">- show</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">TFSplashWindow Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>UIWindow</td>
</tr><tr>
	<th>Declared in</th>
	<td>TFSplashWindow.h<br />TFSplashWindow.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>闪屏广告window</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/showWithImageURL:openURL:" title="showWithImageURL:openURL:"></a>
	<h3 class="method-title"><code><a href="#//api/name/showWithImageURL:openURL:">+&nbsp;showWithImageURL:openURL:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据图片地址和打开地址显示splash</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)showWithImageURL:(nullable NSURL *)<em>imageURL</em> openURL:(nullable NSURL *)<em>openURL</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>imageURL</code></th>
						<td><p>图片地址</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>openURL</code></th>
						<td><p>点击图片打开的地址</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据图片地址和打开地址显示splash</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/showWithBottomMargin:imageURL:openURL:" title="showWithBottomMargin:imageURL:openURL:"></a>
	<h3 class="method-title"><code><a href="#//api/name/showWithBottomMargin:imageURL:openURL:">+&nbsp;showWithBottomMargin:imageURL:openURL:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据图片地址和底部留白高度显示splash</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)showWithBottomMargin:(CGFloat)<em>bottomMargin</em> imageURL:(nullable NSURL *)<em>imageURL</em> openURL:(nullable NSURL *)<em>openURL</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>bottomMargin</code></th>
						<td><p>底部留白高度</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>imageURL</code></th>
						<td><p>图片地址</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>openURL</code></th>
						<td><p>点击图片打开的地址</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据图片地址和底部留白高度显示splash</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/showWithLayoutOfSubViewsBlock:imageURL:openURL:" title="showWithLayoutOfSubViewsBlock:imageURL:openURL:"></a>
	<h3 class="method-title"><code><a href="#//api/name/showWithLayoutOfSubViewsBlock:imageURL:openURL:">+&nbsp;showWithLayoutOfSubViewsBlock:imageURL:openURL:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据图片地址和底部留白高度以及自定义view布局显示splash</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)showWithLayoutOfSubViewsBlock:(nullable TFSplashWindowLayoutSubViewsBlock)<em>layoutOfSubViewsBlock</em> imageURL:(nullable NSURL *)<em>imageURL</em> openURL:(nullable NSURL *)<em>openURL</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>layoutOfSubViewsBlock</code></th>
						<td><p>自定义布局block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>imageURL</code></th>
						<td><p>图片地址</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>openURL</code></th>
						<td><p>点击图片打开的地址</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据图片地址和底部留白高度以及自定义view布局显示splash</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithBottomMargin:" title="initWithBottomMargin:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithBottomMargin:">&ndash;&nbsp;initWithBottomMargin:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据底部留白的高度创建闪屏广告</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull instancetype)initWithBottomMargin:(CGFloat)<em>bottomMargin</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>bottomMargin</code></th>
						<td><p>底部留白</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>TFSplashWindow</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据底部留白的高度创建闪屏广告</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithLayoutOfSubViewsBlock:" title="initWithLayoutOfSubViewsBlock:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithLayoutOfSubViewsBlock:">&ndash;&nbsp;initWithLayoutOfSubViewsBlock:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据底部留白和自定义布局的block创建闪屏广告</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull instancetype)initWithLayoutOfSubViewsBlock:(nullable TFSplashWindowLayoutSubViewsBlock)<em>layoutOfSubViewsBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>layoutOfSubViewsBlock</code></th>
						<td><p>自定义布局block</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>TFSplashWindow</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据底部留白和自定义布局的block创建闪屏广告</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/launchAsBackground" title="launchAsBackground"></a>
	<h3 class="method-title"><code><a href="#//api/name/launchAsBackground">&nbsp;&nbsp;launchAsBackground</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否使用启动图片作为背景,默认为yes.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL launchAsBackground</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否使用启动图片作为背景,默认为yes.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/imageURL" title="imageURL"></a>
	<h3 class="method-title"><code><a href="#//api/name/imageURL">&nbsp;&nbsp;imageURL</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>图片的网路地址</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) NSURL *imageURL</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>图片的网路地址</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/openURL" title="openURL"></a>
	<h3 class="method-title"><code><a href="#//api/name/openURL">&nbsp;&nbsp;openURL</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>点击图片打开的网络地址</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) NSURL *openURL</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>点击图片打开的网络地址</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/bottomMargin" title="bottomMargin"></a>
	<h3 class="method-title"><code><a href="#//api/name/bottomMargin">&nbsp;&nbsp;bottomMargin</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>底部留白的高度，默认0</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) CGFloat bottomMargin</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>底部留白的高度，默认0</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/showSkip" title="showSkip"></a>
	<h3 class="method-title"><code><a href="#//api/name/showSkip">&nbsp;&nbsp;showSkip</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否显示跳过倒计时，默认显示</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL showSkip</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否显示跳过倒计时，默认显示</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/shouldAddLaunch" title="shouldAddLaunch"></a>
	<h3 class="method-title"><code><a href="#//api/name/shouldAddLaunch">&nbsp;&nbsp;shouldAddLaunch</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否添加启动页，默认添加</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL shouldAddLaunch</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否添加启动页，默认添加</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dismissAnimationDuration" title="dismissAnimationDuration"></a>
	<h3 class="method-title"><code><a href="#//api/name/dismissAnimationDuration">&nbsp;&nbsp;dismissAnimationDuration</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>消失动画时长,默认0.8</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) NSTimeInterval dismissAnimationDuration</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>消失动画时长,默认0.8</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dismissAnimationType" title="dismissAnimationType"></a>
	<h3 class="method-title"><code><a href="#//api/name/dismissAnimationType">&nbsp;&nbsp;dismissAnimationType</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>消失的动画类型，默认TFSplashWindowDismissAnimationTypeFade</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) TFSplashWindowDismissAnimationType dismissAnimationType</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>消失的动画类型，默认TFSplashWindowDismissAnimationTypeFade</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/duration" title="duration"></a>
	<h3 class="method-title"><code><a href="#//api/name/duration">&nbsp;&nbsp;duration</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>停留时长，默认3.0</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) NSTimeInterval duration</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>停留时长，默认3.0</p><div class="warning"><p><strong>Warning:</strong> 总时长为duration<a href="#//api/name/dismissAnimationDuration">dismissAnimationDuration</a></p></div>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/show" title="show"></a>
	<h3 class="method-title"><code><a href="#//api/name/show">&ndash;&nbsp;show</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>显示splash</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)show</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>显示splash</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">TFSplashWindow.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 “Timeface”. All rights reserved. Updated: 2017-08-17</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>